Discover the wonders of probability with these fun exercises!
Exercise 1: Mean and Variance
Part (i)
Part (ii)
Part (iii)
Part (iv)
For the random variable \(X\) with PMF: \(f(x)=\begin{cases} \frac{1}{10} & x=2,5 \\ \frac{1}{5} & x=0,1,3,4 \end{cases}\), find the mean and variance.
First, let's list all possible values of X with their probabilities:
This is an example of a triangular distribution, which often appears in project management for task duration estimates!
For the random variable \(X\) with PDF: \(f(x)=\begin{cases} \frac{1}{2}e^{-\frac{x}{2}} & \text{for } x>0 \\ 0 & \text{otherwise} \end{cases}\), find the mean and variance.
This is an exponential distribution with λ = 1/2, commonly used to model waiting times between events in a Poisson process!
Exercise 2: Probability Mass Function
Two balls are drawn in succession without replacement from an urn containing four red balls and three black balls.
Let \(X\) be the number of red balls drawn. Find the probability mass function and mean for \(X\).
First, determine all possible values of X:
\[
X \in \{0, 1, 2\}
\]
Calculate total number of ways to draw 2 balls from 7:
PMF: \(f(0)=\frac{1}{7}\), \(f(1)=\frac{4}{7}\), \(f(2)=\frac{2}{7}\)
Mean = \(\frac{8}{7} \approx 1.1429\)
Did you know? This is an example of a hypergeometric distribution, which describes scenarios where
you sample without replacement from a finite population with two distinct groups!
Exercise 3: Mean and Variance from Expectations
If \(\mu\) and \(\sigma^2\) are the mean and variance of the discrete random variable \(X\),
and \(E(X+3)=10\) and \(E[(X+3)^2]=116\), find \(\mu\) and \(\sigma^2\).
\[
\text{Mean } (\mu) = n \times p = 4 \times 0.5 = 2
\]
\[
\text{Variance } (\sigma^2) = n \times p \times (1-p) = 4 \times 0.5 \times 0.5 = 1
\]
PMF: \(P(k) = \frac{C(4,k)}{16}\) for \(k=0,1,2,3,4\)
Mean = 2
Variance = 1
The binomial distribution was first studied by Jacob Bernoulli in the 17th century, which is why it's sometimes called the "Bernoulli distribution" (though technically that refers to the n=1 case)!
Exercise 5: Uniform Distribution
A commuter train arrives punctually at a station every half hour. Each morning, a student leaves his house to the train station.
Let \(X\) denote the amount of time, in minutes, that the student waits for the train from the time he reaches the train station.
It is known that the pdf of \(X\) is \(f(x)=\begin{cases} \frac{1}{30} & 0
This is a uniform distribution between 0 and 30 minutes.
For a uniform distribution on \([a,b]\), the expected value is:
On average, the student can expect to wait 15 minutes for the train.
Since arrival times are uniformly distributed, sometimes he'll wait less, sometimes more,
but the long-term average will be 15 minutes.
Expected waiting time = 15 minutes
The uniform distribution is the maximum entropy probability distribution for a random variable with a fixed interval - meaning it represents maximum uncertainty about the outcome within the given bounds!
Exercise 6: Exponential Distribution
The time to failure in thousands of hours of an electronic equipment used in a manufactured computer has the density function
\(f(x)=\begin{cases} 3e^{-3x} & x>0 \\ 0 & \text{elsewhere} \end{cases}\).
Find the expected life of this electronic equipment.
This is an exponential distribution with rate parameter \(\lambda = 3\).
For an exponential distribution, the expected value is:
\[
E[X] = \int_{0}^{\infty} x \cdot 3e^{-3x} \, dx
\]
Using integration by parts with \(u = x\), \(dv = 3e^{-3x}dx\):
\[
= \left[ -xe^{-3x} \right]_{0}^{\infty} + \int_{0}^{\infty} e^{-3x} \, dx = 0 + \left[ \left(-\frac{1}{3}\right)e^{-3x} \right]_{0}^{\infty} = \frac{1}{3}
\]
Expected life = \(\frac{1}{3}\) thousand hours ≈ 333.33 hours
The exponential distribution is "memoryless" - meaning the probability of failure in the next hour is the same no matter how long the equipment has already been running!
Exercise 7: Gamma-like Distribution
The probability density function of the random variable \(X\) is given by
\(f(x)=\begin{cases} 16xe^{-4x} & \text{for } x>0 \\ 0 & \text{for } x\leq 0 \end{cases}\).
Find the mean and variance of \(X\).
First, recognize this as a Gamma distribution with shape \(k=2\) and rate \(\theta=4\).
For Gamma(\(k,\theta\)), the mean and variance are:
This distribution is a special case of the Erlang distribution, used to model waiting times in queueing systems!
Exercise 8: Expected Profit
A lottery with 600 tickets gives one prize of ₹200, four prizes of ₹100, and six prizes of ₹50.
If the ticket costs ₹2, find the expected profit amount of a ticket.
Expected profit per ticket = -₹0.50 (a loss of 50 paise on average)
This negative expected value means on average, players lose money - which is how lotteries make profit!
The difference between the ticket price and expected winnings is called the "house edge."